<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.Date"%>
<%@ page import="com.perdragon.entity.Educate"%>
<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8" />
<title>人力资源管理系统</title>
<script src="../static/js/jquery.min.js"></script>
<script src="../static/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="../static/css/bootstrap.min.css" />
<link rel="stylesheet" href="../static/css/dashboard.css" />
<link rel="stylesheet" href="../static/css/sidebar.css" />
<link rel="stylesheet" href="../static/css/detailpage.css" />
</head>

<body>
	<nav
		class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
		<a class="navbar-brand col-md-3 col-lg-2 mr-0 px-3" href="#">人力资源管理系统</a>
		<button class="navbar-toggler position-absolute d-md-none collapsed"
			type="button" data-toggle="collapse" data-target="#sidebarMenu"
			aria-controls="sidebarMenu" aria-expanded="false"
			aria-label="Toggle navigation">
			<span class="navbar-toggler-icon"></span>
		</button>
	</nav>
	<div class="container-fluid">
		<div class="row">
			<nav id="sidebarMenu"
				class="col-md-3 col-lg-2 d-md-block bg-light sidebar collapse">
				<div class="sidebar-sticky pt-3">
					<div class="user-brief">
						<div>
							<img src="../static/images/avatar.jpg" class="user-avatar" />
						</div>
						<div class="user-name">
							<h4>${user.username}</h4>
							<a href="/Internship/user/logout">退出</a>
						</div>
					</div>
					<div class="accordion" id="accordionExample">
						<div class="card">
							<div class="card-header" id="headingOne">
								<h2 class="mb-0">
									<button class="btn btn-link btn-block text-left collapsed"
										type="button" data-toggle="collapse"
										data-target="#collapseOne" aria-expanded="false"
										aria-controls="collapseOne">人员管理</button>
								</h2>
							</div>
							<div id="collapseOne" class="collapse"
								aria-labelledby="headingOne" data-parent="#accordionExample">
								<div class="card-body">
									<ul class="nav flex-column">
										<li class="nav-item"><a class="nav-link"
											href="/Internship/user/add"> 人员信息录入 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/user/list"> 人员信息查看 </a></li>
									</ul>
								</div>
							</div>
						</div>
						<div class="card">
							<div class="card-header" id="headingTwo">
								<h2 class="mb-0">
									<button class="btn btn-link btn-block text-left collapsed"
										type="button" data-toggle="collapse"
										data-target="#collapseTwo" aria-expanded="false"
										aria-controls="collapseTwo">招聘管理</button>
								</h2>
							</div>
							<div id="collapseTwo" class="collapse"
								aria-labelledby="headingTwo" data-parent="#accordionExample">
								<div class="card-body">
									<ul class="nav flex-column">
										<li class="nav-item"><a class="nav-link"
											href="/Internship/job/add"> 应聘信息录入 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/job/list"> 应聘信息查看 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/job/listStore"> 人才库浏览 </a></li>
									</ul>
								</div>
							</div>
						</div>
						<div class="card">
							<div class="card-header" id="headingThree">
								<h2 class="mb-0">
									<button class="btn btn-link btn-block text-left" type="button"
										data-toggle="collapse" data-target="#collapseThree"
										aria-expanded="true" aria-controls="collapseThree">
										培训管理</button>
								</h2>
							</div>
							<div id="collapseThree" class="collapse show"
								aria-labelledby="headingThree" data-parent="#accordionExample">
								<div class="card-body">
									<ul class="nav flex-column">
										<li class="nav-item"><a class="nav-link"
											href="/Internship/educate/add"> 培训计划录入 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/educate/list"> 培训计划查看 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/educate/listFinished"> 培训总结查看 </a></li>
									</ul>
								</div>
							</div>
						</div>
						<div class="card">
							<div class="card-header" id="headingFour">
								<h2 class="mb-0">
									<button class="btn btn-link btn-block text-left collapsed"
										type="button" data-toggle="collapse"
										data-target="#collapseFour" aria-expanded="false"
										aria-controls="collapseFour">奖惩管理</button>
								</h2>
							</div>
							<div id="collapseFour" class="collapse"
								aria-labelledby="headingFour" data-parent="#accordionExample">
								<div class="card-body">
									<ul class="nav flex-column">
										<li class="nav-item"><a class="nav-link"
											href="/Internship/institution/add"> 奖惩信息登记 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/institution/list"> 奖惩信息查看 </a></li>
									</ul>
								</div>
							</div>
						</div>
						<div class="card">
							<div class="card-header" id="headingFive">
								<h2 class="mb-0">
									<button class="btn btn-link btn-block text-left collapsed"
										type="button" data-toggle="collapse"
										data-target="#collapseFive" aria-expanded="false"
										aria-controls="collapseFive">薪金管理</button>
								</h2>
							</div>
							<div id="collapseFive" class="collapse"
								aria-labelledby="headingFive" data-parent="#accordionExample">
								<div class="card-body">
									<ul class="nav flex-column">
										<li class="nav-item"><a class="nav-link"
											href="/Internship/stipend/add"> 薪金数据录入 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/stipend/list"> 薪金数据查看 </a></li>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</div>
			</nav>
			<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-md-4">
				<div
					class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
					<h1 class="h2">培训详细计划</h1>
				</div>
				<c:if test="${!empty requestScope.educate}">
					<div>
						<table class="table table-sm" style="width: 400px;">
							<tbody>
								<tr>
									<td style="width: 110px;"><label class="table-label">培训名称</label>
									</td>
									<td>${educate.name}</td>
								</tr>
								<tr>
									<td><label class="table-label">培训目的</label></td>
									<td>${educate.purpose}</td>
								</tr>
								<tr>
									<td><label class="table-label">培训开始时间</label></td>
									<td><fmt:formatDate value="${educate.begintime}"
											pattern="yyyy-MM-dd" /></td>
								</tr>
								<tr>
									<td><label class="table-label">培训结束时间</label></td>
									<td><fmt:formatDate value="${educate.endtime}"
											pattern="yyyy-MM-dd" /></td>
								</tr>
								<tr>
									<td><label class="table-label">讲师</label></td>
									<td>${educate.teacher}</td>
								</tr>
								<tr>
									<td><label class="table-label">培训人员</label></td>
									<td>${educate.student}</td>
								</tr>
								<tr>
									<td><label class="table-label">培训材料</label></td>
									<td>${educate.datum}</td>
								</tr>
								<tr>
									<td><label class="table-label">培训效果</label></td>
									<td>${educate.effect}</td>
								</tr>
								<tr>
									<td><label class="table-label">培训总结</label></td>
									<td>${educate.summarize}</td>
								</tr>
							</tbody>
						</table>
						<a class="btn btn-primary btn-sm mb-3"
							href="javascript:window.history.back(-1);" role="button"
							style="width: 110px;">返回</a>
					</div>
				</c:if>
			</main>
		</div>
	</div>
</body>

</html>